package com.example.jikeyoujikeyou.office_sz.comment.utils;

import java.util.List;

/**
 * Created by Mr.pan on 2017/12/26.
 */

public class ListValidate {

    /**
     * 判断列表是否为空或没有元素.
     * @param list
     * @return boolean
     */
    public static boolean isEmpty(List list){
        return null == list || 0 == list.size();
    }

}
